package fauxman.BlinkyStates;

import fauxman.DynamicElements.Ghost;
import fauxman.model.WorldModel;
import fauxman.utilities.SpriteUtil;

public class ScatterBlinkyState extends BlinkyState {
	private static ScatterBlinkyState instance;
	private static int[] target = {25, -4};
	
	private ScatterBlinkyState(){
	}
	
	public static ScatterBlinkyState getInstance(){
		if (instance==null)
			instance = new ScatterBlinkyState();
		return instance;
	}
	
	public void setAppearance(int appearanceID, Ghost g) {
		g.setAppearance(SpriteUtil.getBlinkySprite(appearanceID));
	}
	
	//Blinky target is upper right beyond playable board
	public int[] getTarget(WorldModel model, Ghost g) {
		return target;
	}
}
